/**
 * Copyright 2014-2016 eyaomall.com 
 * All rights reserved.
 * 
 * @project
 * @author jackey
 * @version 1.0
 * @date 2015-09-11
 */
package com.eyaomall.wxmanage.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.ResponseBody;

import com.eyaomall.wxmanage.dao.OperLogDao;
import com.eyaomall.wxmanage.model.po.OperLog;
import com.eyaomall.wxmanage.model.vo.OperLogVO;
import com.eyaomall.wxmanage.service.OperLogService;
import com.lycheeframework.core.cmp.kit.IHTTPObject;
import com.lycheeframework.core.cmp.kit.Pages;

@Service
public class OperLogServiceImpl implements OperLogService {

	@Autowired
	private OperLogDao operLogDao;
	
	/**
	 * 新增
	 */
	public int create(OperLog log) {
		
		return operLogDao.create(log);
	}

	/**
	 * 分页查询日志
	 */
	public @ResponseBody Pages<?> page(OperLogVO log,IHTTPObject httpObj) {
		
		return operLogDao.page(log,httpObj);
	}

}
